<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="../jquery-3.3.1.min.js"></script>
</head>
<body>
    <h1>jQuery</h1>
    <hr>

    <button>点我一下</button>

    <script>
        
        $('h1').css('color','red').css('font-size','150px');

        //绑定事件
        
        $('button').click(function(){
            $('h1').toggle(3000);
        });
    </script>
</body>
</html>